package com.wteam.Service;

import com.wteam.PoJo.DO.Order;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wteam.PoJo.DTO.OrderFormDTO;
import com.wteam.PoJo.DTO.orderpageDTO;
import com.wteam.until.Result;

/**
 * <p>
 * 订单表（现货） 服务类
 * </p>
 *
 * @author author
 * @since 2024-07-16
 */
public interface IOrderService extends IService<Order> {

    Long saveoreder(OrderFormDTO orderFormDTO);

    Long oreder(OrderFormDTO orderFormDTO);

    Result orderbystatus( orderpageDTO orderpageDTO);

    Result buyorder(Long orderid);
}
